from django.urls import path
from rest_framework_jwt.views import obtain_jwt_token

from . import views

urlpatterns = [
    path('register', views.RegiserView.as_view()),  # 用户注册
    path('login', obtain_jwt_token),  # 用户登录，使用 djangorestframework-jwt 的登录视图
]
